﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CPPEI.PM
{
    /// <summary>
    /// 工作表的单元格信息
    /// </summary>
    [Serializable]
    public class WorkSheetCell
    {
        /// <summary>
        /// 行上的路径
        /// c01\c0101\c010101\
        /// </summary>
        public string RowCodePath { get; set; }

        /// <summary>
        /// 列上的路径
        /// s01\s0101\s010101\
        /// </summary>
        public string ColCodePath { get; set; }

        public int DimCount { get; set; }

        public string Path
        {
            get
            {
                return string.Format("{0}{1}", RowCodePath, ColCodePath);
            }
        }
        public object Value { get; set; }

        /// <summary>
        /// 是否被修改了,
        /// 当同步到服务器之后就变成false，编辑之后变成true
        /// </summary>
        public bool IsChanged { get; set; }



        /// <summary>
        /// 状态
        /// </summary>
        public int State { get; set; }
    }
}
